import { postRequestJson, postRequestList } from '../utils/request'

export const exportTagMonitorInfo = <T>(data?: any): Promise<IResponsePost<T>> =>
  postRequestJson(`/api/sop/sop/monitor/tag/exportTagMonitorInfo`, data)
export const getArrivalTrackingList = <T>(data?: any): Promise<IResponseList<T>> =>
  postRequestList(`/api/sop/sop/dashboards/arrivalTracking`, data)
export const exportArrivalTrackingExcel = <T>(data?: any): Promise<IResponsePost<T>> =>
  postRequestJson(`/api/sop/sop/dashboards/exportArrivalTracking`, data)
export const countArrivalTracking = <T>(data?: any): Promise<IResponsePost<T>> =>
  postRequestJson(`/api/sop/sop/dashboards/countArrivalTracking`, data)
export const getQuotationTrackList = <T>(data?: any): Promise<IResponseList<T>> =>
  postRequestList(`/api/sop/sop/dashboards/quotationTrack`, data)
